package com.lifa.dao;


import com.lifa.entity.ShangpinFenlei;

import java.util.List;
/**
 * 123
 */
/**
 * 10.产品类型设置
 */
public interface ShangpinFenleiDao {
    /**
     * 查询商品分类
     * @return
     */
    public List<ShangpinFenlei> query1();

    /**
     * 根据商品id删除信息
     * @param shangpinFenlei_Id
     * @return
     */
    public int delete(int shangpinFenlei_Id);

    /**
     * 添加商品信息
     * @param shangpinFenlei
     * @return
     */
    public int insert(ShangpinFenlei shangpinFenlei);

    /**
     * 获取到商品分类id
     * @param shangpinFenlei_Id
     * @return
     */
    public ShangpinFenlei queryId(int shangpinFenlei_Id);

    /**
     * 根据商品分类id修改信息
     * @param shangpinFenlei
     * @return
     */
    public int update(ShangpinFenlei shangpinFenlei);
}
